package Threadprojects.pro3_bestMatching.data.test;

import Threadprojects.pro3_bestMatching.data.grounp.BestMatchingTask;
import Threadprojects.pro3_bestMatching.data.util.BestMatchingData;
import Threadprojects.pro3_bestMatching.data.util.ReadData;

import java.io.IOException;
import java.util.List;
import java.util.concurrent.*;

import static Threadprojects.pro3_bestMatching.data.grounp.BestMatchingCalculation.getBestMatchingWords;

public class test2_main {
    public static void main(String[] args) throws IOException, ExecutionException, InterruptedException {
        long start=System.currentTimeMillis();
        List<String> words = ReadData.read();

        getBestMatchingWords("sitter",words);

        long end=System.currentTimeMillis();
        System.out.println("运行时间为"+(end-start));
    }


}
